#!/usr/bin/env python
import urllib2, urllib

data = {'ValidCode' : '','pid':'15', 'Submitok' : '%C8%B7%C8%CF%CD%B6%C6%B1'}

cookies = urllib2.HTTPCookieProcessor()
opener = urllib2.build_opener(cookies)

while(1):
    request = urllib2.Request(
            url     = 'http://10.58.1.200/Vote_do.asp', #
            headers = {'Content-Type' : 'application/xml','charset':'UTF-8','Referer':'http://10.58.1.200/Vote.asp?id=15'},
            data    = urllib.urlencode(data))
    f=opener.open(request)
    print f.read()